import { createRouter, createWebHashHistory, RouteRecordRaw } from 'vue-router';
const Home = () => import(/* webpackChunkName: "home" */ '@/views/Home/index.vue');

const routes: Array<RouteRecordRaw> = [
	{
		path: '/',
		name: 'Home',
		component: Home,
	},
];

const router = createRouter({
	history: createWebHashHistory(process.env.BASE_URL),
	routes,
	scrollBehavior() {
		return { left: 0, top: 0 };
	},
});

export default router;
